package com.bicon.botu.mall.order.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import com.bicon.botu.core.base.repository.mybatis.UuidBaseEntity;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 发货实体类
 * </p>
 *
 * @author 李双喜
 * @since 2018-05-14
 */
@TableName("order_deliver")
@Data
public class OrderDeliver extends UuidBaseEntity<OrderDeliver> {

    private static final long serialVersionUID = 1L;

    /**
     * 发货编号
     */
	@TableField("deliver_no")
	private String deliverNo;
    /**
     * 用户id(买家)
     */
	@TableField("user_id")
	private String userId;
    /**
     * 商铺id
     */
	@TableField("store_id")
	private String storeId;
    /**
     * 分组订单id
     */
	@TableField("order_goods_id")
	private String orderGoodsId;
    /**
     * 物流公司
     */
	@TableField("logistics_company_id")
	private String logisticsCompanyId;

    /**
     * 订单的收货地址id
     */
	@TableField("order_address_id")
	private String orderAddressId;
    /**
     * 运单号
     */
    @TableField("waybill")
	private String waybill;
	/**
	 * 状态  1：已发货 2：客户已收货'
	 */
	@TableField("status")
	private Integer  status;
}
